<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			.transitionbox{
				width: 100px;
				height: 70px;
				background-color: rgba(255,0,0,50%);
				transition:  2s;
				
				/* transition: height 5s; */
			}
			.transitionbox:hover{
				margin: 10px;
				font-size: 50px;
				background-color: rgba(0,255,0,10%);
				width: 400px;
				width: 200px;
			}
		</style>
	</head>
	<body>
		<h3>拉伸盒子动画效果</h3>
		<h5 class="transitionbox">我的老家</h5>
	</body>
</html>
